package bootstrap

import (
	"flag"
	"gin-web/app/dao"
	"gin-web/config"
	"gin-web/initialize"
)

var configPath = flag.String("config", "etc/config.ini", "path to health-check config file")

func init() {
	flag.Parse()
	config.LoadConfig(*configPath)
	initialize.InitLog()
	dao.DbInit()
	initialize.CasbinEnforcer()
}
